package com.heima.media;

import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import com.heima.common.knife4j.MyKnife4jConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;


@SpringBootApplication
//@Import(MyKnife4jConfiguration.class)
//@ComponentScan({"com.heima.media","com.heima.common.knife4j"})
@EnableFeignClients
@EnableAsync
public class MediaApp {
    public static void main(String[] args) {
        SpringApplication.run(MediaApp.class,args);
    }

}
